Better parsing for global ostree options
authorStef Walter <stefw@redhat.com>
Tue, 13 Aug 2013 12:13:04 +0000 (14:13 +0200)
committerStef Walter <stefw@redhat.com>
Tue, 13 Aug 2013 12:28:36 +0000 (14:28 +0200)
commit1f8c7a25249373b54884968211c7c6d24331dc86
tree6c66413c4ecd63f08ed91e1eda188251b7d6e742
parent4765726ea1cc4904142898bc05a6c90c69011acd
Better parsing for global ostree options

 * Specifying global options after the command for a more natural:
   # ostree commit --repo=/path/to/repo ...
 * Support asking for --help without --repo
   # ostree commit --help
 * Support short form of -h
 * Support specifying --repo without equals sign
   # ostree --repo /path/to/repo commit ...
 * Support global --help and -h
   # ostree --help
 * Ditto for ostree admin sub commands
 * Removed some leaky code

https://bugzilla.gnome.org/show_bug.cgi?id=705903
src/ostree/ot-builtin-admin.c
src/ostree/ot-main.c
src/ostree/ot-main.h